package cn.zzdt4j.config.service.biz;

import cn.zzdt4j.config.model.LogRecordInfo;
import cn.zzdt4j.config.model.biz.log.LogRecordQueryReqDTO;
import cn.zzdt4j.config.model.biz.log.LogRecordRespDTO;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * The interface Operation log service.
 *
 * @author by <a href="mailto:ligang941012@gmail.com">gang.Li</a>
 * @since 2023 /11/8 16:09
 */
public interface OperationLogService {
    /**
     * Record.
     *
     * @param logRecordInfo the log record info
     */
    void record(LogRecordInfo logRecordInfo);

    /**
     * Query page page.
     *
     * @param reqDTO the req dto
     * @return the page
     */
    IPage<LogRecordRespDTO> queryPage(LogRecordQueryReqDTO reqDTO);
}
